package cn.jbolt.config.routes;

import cn.jbolt.core.crossorigin.JBoltCrossOriginInterceptor;
import com.jfinal.config.Routes;

/**
 * 登录验证码专用路由
 */
public class JBoltLoginCaptchaApiRoutes extends Routes {
    @Override
    public void config() {
        this.addInterceptor(new JBoltCrossOriginInterceptor());
        this.scan("cn.jbolt.login.captcha");
    }
}
